from django.db import models
class PersonInfo(models.Model):
    name = models.CharField(max_length=50)
    age = models.IntegerField()
    hiredate = models.DateField( )
    def __str__(self):
        return self.name